package com.xgp;

import com.xgp.microChat.dev.BatTool;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@MapperScan("com.xgp.microChat.mapper")
@EnableTransactionManagement
@EnableAsync    //开启异步的注解
@EnableScheduling   //开启基于注解的定时任务
@SpringBootApplication
public class QqApplication {

    public static void main(String[] args) {
        SpringApplication.run(QqApplication.class, args);
    }

}
